package com.ideaaedi.zoo.diy.artifact.tenant.properties.nested;

import com.ideaaedi.zoo.commonbase.enums.EnumDescriptor;

/**
 * 租户模式
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img
 * src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 1.0.0
 */
public enum TenantModeEnum implements EnumDescriptor {
    
    LIKE_RIGHT("filter tenant by 'LIKE xxx%'"),
    
    IN_EQUALS("filter tenant by 'IN (xxx)', if there is only one, use '= xxx'");
    
    private final String desc;
    
    TenantModeEnum(String desc) {
        this.desc = desc;
    }
    
    @Override
    public String obtainDescription() {
        return this.desc;
    }
}
